<template>
	<view class="" >
		<navigationBar :titleName="'经营概况'"></navigationBar>
		<view  style="z-index: 1;position: relative;" v-if="hide!=0">
			<u-sticky bgColor="#fff">
				<u-tabs :list="list1" @click="tagClick" :current="current"></u-tabs>
			</u-sticky>
		</view>
		<!-- <view class="setDisplayCenter setMarginVertical setFontColor1">
			共为您找到<text class="setcolor">{{allSize}}</text>条信息
		</view> -->
		<view class="content1" v-if="current==0">
			<mainPerson :personMsg="personMsg"></mainPerson>
		</view>
		<view class="content1" v-if="current==1">
			
			
			<registerPerson :personMsg="personMsg"></registerPerson>
			
		
		</view>
		<view v-if="current==2 " class="setMarginHorizontal">
			<view v-for="(item,index) in personMsg" :key="index"
				class="content2 setBgfff setMarginVertical setPadding setFontColor1">
				<view class="setMarginVertical ">
					<view class="setVertical setBorderBottom ">
						<text class="setFont setcolor"> 资质类别：{{item.companyQualification.companyType}}</text>
						<!-- <view class="setVerticalCenter">
							<text class="setNowrap1">资质名称：</text>
							<view class="setNowrap2 setcolor">
								<text class="setBgColor2 " :key="index2" v-for="(item2,index2) in item.companyQualification.companyQualificationName">
									{{item2}}
								</text>
							</view>
						</view> -->
						<text>发证机关：{{item.companyQualification.companyOrgan}}</text>

						<view class="setVerticalCenter">
							<text class="setNowrap2">证书有效期：{{item.companyQualification.companyEffectiveTime}}</text>
							<text
								class="setNowrap2">发证日期：{{item.companyQualification.companyIssuingCertificateTime}}</text>

						</view>
					</view>
					<view class="setMarginVertical setVertical">
						<view class="setVerticalCenter">
							<text class="setNowrap1">资质范围：</text>
							<view class="setNowrap2">
								<text class="setBgColor1" :key="index3" v-for="(item3,index3) in item.companyCertificate.companyQualificationRange">
									{{item3}}
								</text>
							</view>
						</view>
						<text>证书号：{{item.companyQualification.companyCertificateNum}}</text>
						<text>公司名称：{{item.companyCertificate.companyName}}</text>
						<view class="setVerticalCenter">
							<text class="setNowrap2">发证日期：{{item.companyCertificate.companyCertDate}}</text>
							<text class="setNowrap2">有效日期：{{item.companyCertificate.companyValidityPeriod}}</text>
						</view>
					</view>
				</view>
			</view>

		</view>
		<view v-if="current==3 " class="setMarginHorizontal">
			<achievement :allData="personMsg"></achievement>
			<!-- <companyAchievement v-if="personMsg" :dataList="personMsg"></companyAchievement> -->
		</view>
		<view v-if="current==4 " class="setMarginHorizontal">
			<view v-for="(item,index) in personMsg" :key="index"
				class="content2 setBgfff setMarginVertical setPadding setVertical setFontColor1">

				<view class="sethorizontalbetween setMarginVertical">
					<view>主体等级：<text class="setcolor">{{item.companySubjectLevel}}</text></view>
					<view>债券信用等级：<text class="setcolor">{{item.companyBondCreditLevel}}</text></view>
				</view>
				<view class="sethorizontalbetween setMarginVertical">
					<text>评级展望：{{item.companyRatingOutlook}}</text>
					<text> 评级日期：{{item.companyRatingDate}}</text>
				</view>

				<text class="setMarginVertical"> 评级公司：{{item.companyRatingCompanyName}}</text>



				<!-- <text>{{item.companyUrl}}</text> -->
				<!-- <view class="" @click="checkMore(item.companyUrl)">
				<u-button type="primary" :plain="true" text="点击查看更多" size="mini"></u-button>
			</view> -->
			</view>
		</view>
		<u-loadmore v-if="personMsg" height="100" fontSize="28" iconSize="28" :status="status" />
	</view>
</template>

<script src="./mainPerson.js">
</script>

<<style lang="scss">
	@import "./mainPerson.css";
	</style>
